package xyz.yang.toodles.statemachine;

import lombok.EqualsAndHashCode;

/**
 * @author Xuehong Yang
 * @since 1.0
 */
@EqualsAndHashCode
public class StateEventPair<S extends State, E extends Event> {
    private final S state;
    private final E event;

    public StateEventPair(S state, E event) {
        this.state = state;
        this.event = event;
    }
}
